using System;

namespace IBNet
{
   /// <summary>
   /// Represents a futures contract.
   /// </summary>
   public class Future : Contract
   {
      /// <summary>
      /// Creates a Future Contract for a specific exchange.
      /// </summary>
      /// <param name="symbol">The symbol.</param>
      /// <param name="exchange">The exchange.</param>
      /// <param name="localSymbol">The local symbol.</param>
      /// <param name="expiry">The expiry.<see cref="Contract.Expiry"/>.</param>
      public Future(string symbol, string exchange, string localSymbol, string expiry)
         : base(0, symbol, SecurityType.Future, expiry, 0, RightType.Undefined, 
                null, exchange, "USD", localSymbol, null, null, null)
      {
      }
   }
}
